package dao;

import model.User;

import java.sql.SQLException;
import java.util.ArrayList;

public interface DAOUser {
	public abstract User get(int id);
	public abstract ArrayList<User>  load();
	public abstract ArrayList<User>  load(String name);
	public abstract User getByName(String name);
	public abstract User login(String name, String password);
	public abstract void saveOrUpdate(User user);
	public abstract void remove(User user);
}
